﻿<%@ Page  Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<PledgeViewModel>" %>
<%@ Import Namespace="Ctef.Web.Models" %>
<%@ Import Namespace="Ctef.Web.Resources.Involve" %>
<%@ Import Namespace="Ctef.Web.Resources.Shared" %>

<asp:Content ID="Content1" ContentPlaceHolderID="LeftContent" runat="server">
    <script type="text/javascript">
        $(function () {
            ctef.initializeForm('#pledgeForm', '#pledgeStatus');
        });
    </script>

    <div id="breadcrumbdiv"><%= SharedStrings.Menu_GetInvolved %> &gt; <%= SharedStrings.Menu_Donate %></div>
    <h2><%= Strings.Donate_SectionTitle_1 %></h2>
    <hr />

    <p><%= Strings.Donate_DidYouKnow %></p>
    <ul class="strong">
        <li><%= Strings.Donate_Impact_1 %></li>
        <li><%= Strings.Donate_Impact_15 %></li>
        <li><%= Strings.Donate_Impact_150 %></li>
        <li><%= Strings.Donate_Impact_400 %></li>
        <li><%= Strings.Donate_Impact_2500 %></li>
        <li><%= Strings.Donate_Impact_6000 %></li>
        <li><%= Strings.Donate_Impact_30000 %></li>
    </ul>
    <p><%= Strings.Donate_Impact_SchoolName %></p>
    <h2><%= Strings.Donate_SectionTitle_2 %></h2>
    <hr />
    <h3><%= Strings.Donate_DonateNow %></h3>
    <p><%= Strings.Donate_DonateNow_Description %></p>
    <div class="donateButtonBackground">
        <a href="https://ctef.donortools.com/" class="donateButtonText"><%= SharedStrings.DonateNow %></a>
    </div>

    <h3><%= Strings.Donate_PledgeNow %></h3>
<% using (Html.BeginForm("PledgeNow", "Involve", FormMethod.Post, new { id = "pledgeForm" })) %>
<% { %>
    <div class="formRow">
        <div class="formLabel"><%= Html.Label(Strings.Volunteer_Name)%></div>
        <%= Html.TextBoxFor(m => m.Name)%>
    </div>
    <div class="formRow">
        <div class="formLabel"><%= Html.Label(Strings.Volunteer_Email)%></div>
        <%= Html.TextBoxFor(m => m.Email)%>
    </div>
    <div class="formRow">
        <div class="formLabel"><%= Html.Label(Strings.Volunteer_Phone)%></div>
        <%= Html.TextBoxFor(m => m.Phone)%>
    </div>
    <div class="formRow">
        <div class="formLabel"><%= Html.Label(Strings.Donate_Company)%></div>
        <%= Html.TextBoxFor(m => m.Company)%>
    </div>
    <div class="formRow">
        <div class="formLabel"><%= Html.Label(Strings.Donate_PledgeAmount)%></div>
        <%= Html.TextBoxFor(m => m.Amount)%>
    </div>
    <div class="formRow">
        <p><%= Html.Label(Strings.Donate_ProgramsToSupport)%></p>
        <%= Html.TextAreaFor(m => m.Programs, 7, 60, null)%>
    </div>
    <div class="formSubmit">
        <input type="submit" value="<%= SharedStrings.Button_Submit %>" />
    </div>
<% } %>

    <div id="pledgeStatus"></div>
    
    <h3><%= Strings.Donate_MakeCheck %></h3>
    <p>
        <strong>China Tomorrow Education Foundation</strong><br />
        P.O. Box 1103<br />
        Mercer Island, WA 98040
    </p>
    <h4>If you donate by check and would like to receive your tax-receipt faster, please provide your email address with your mailed-in donation.</h4>
</asp:Content>
